package com.dmai.aiet.epc.archive.mapper;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dmai.aiet.epc.archive.entity.OfflineClassStudyRecords;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 面授班学习轨迹
 *
 * @author
 * @email
 * @date 2024-07-22 19:16:09
 */
@Mapper
public interface OfflineClassStudyRecordsDao {

    int save(OfflineClassStudyRecords offlineClassStudyRecords);

    int update(OfflineClassStudyRecords offlineClassStudyRecords);

    int delete(String id);

    OfflineClassStudyRecords findById(String id);

    List<OfflineClassStudyRecords> findByUserid(String userid);

    List<OfflineClassStudyRecords> findCertificateByUserid(String userid);

    List<OfflineClassStudyRecords> pageAll(Page<OfflineClassStudyRecords> page, @Param("params") Map<String, Object> params);

    List<OfflineClassStudyRecords> findAll(Map<String, Object> params);

}
